<?php
namespace Home\Model;

use Think\Model;

class UserModel extends Model{
    
    public function find_uesr($where = null,$type = null){
        if($type ==null || $type =="select"){
            $result = $this->where($where)->select();
        }
        else if($type=='find'){
            $result = $this->where($where)->find();
        }
        
        return $result;
    }

}
